<?php

namespace App\Http\Services;

use App\Http\Dao\SubjectDao;

/**
 * @property SubjectDao $subjectDao
 */
class SubjectService
{
    public function __construct(SubjectDao $subjectDao)
    {
        $this->subjectDao = $subjectDao;
    }

    public function getAllSubjects()
    {
        return $this->subjectDao->getAllSubjects();
    }
}
